package com.summer.boss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.boss.model.req.LoginParams;
import com.summer.boss.orm.entity.SysUser;
import com.summer.boss.model.vo.UserVO;

/**
 * @author john
 */
public interface ISysUserService extends IService<SysUser> {

    /**
     * 获取用户信息
     * @param username 用户名
     * @return 用户信息
     */
    UserVO getUser(String username);

    String login(LoginParams user);
}
